package com.chinasoft.movies.service.impl;

import com.chinasoft.movies.mapper.CountByYearMapper;
import com.chinasoft.movies.pojo.CountByYear;
import com.chinasoft.movies.service.CountByYearService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class CountByYearServiceImpl implements CountByYearService {

    @Autowired
    private CountByYearMapper countByYearMapper;

    @Override
    public List<CountByYear> queryCountByYear(){
        return countByYearMapper.queryCountByYear();
    }
}
